package jsyf.com.constant;

/**
 * @Description: <br/>
 * @return:
 * @throw:
 * @author: @韩武洽 @Wyshown
 * @Version: V1.0.0
 */
public final class Const {

    /**
     * <B>构造方法</B><BR>
     */
    private Const() {
    }


    /**
     * Integer类型常量:
     */
    public static final Integer INT_MINUS_ONE = -1;
    public static final Integer INT_MINUS_TWO = -2;
    public static final Integer INT_ZERO = 0;
    public static final Integer INT_ONE = 1;
    public static final Integer INT_TWO = 2;
    public static final Integer INT_THREE = 3;
    public static final Integer INT_FOUR = 4;
    public static final Integer INT_FIVE = 5;
    public static final Integer INT_SIX = 6;

    public static final Integer INT_ONE_HUNDRED = 100;
    public static final Integer INT_ONE_MILLION = 1000000;

    /**
     * Long类型常量:
     */
    /**
     * 5分钟的毫秒数秒数
     */
    public static final Long LONG_FIVE_MINUTE_MILLIS_LONG = 300000L;
    /**
     * 20分钟的毫秒数秒数
     */
    public static final Long LONG_TWELVE_MINUTE_MILLIS_LONG = 1200000L;


    /**
     * 判断代码：是
     */
    public static final String TRUE = "1";

    /**
     * 判断代码：否
     */
    public static final String FALSE = "0";

    /**
     * 通用字符集编码
     */
    public static final String CHARSET_UTF8 = "UTF-8";

    /**
     * 中文字符集编码
     */
    public static final String CHARSET_CHINESE = "GBK";

    /**
     * 英文字符集编码
     */
    public static final String CHARSET_LATIN = "ISO-8859-1";

    /**
     * 根节点ID
     */
    public static final String ROOT_ID = "root";

    /**
     * NULL字符串
     */
    public static final String NULL = "null";

    /**
     * 日期格式
     */
    public static final String FORMAT_DATE = "yyyy-MM-dd";

    /**
     * 日期时间格式
     */
    public static final String FORMAT_DATETIME = "yyyy-MM-dd HH:mm:ss";

    /**
     * 时间戳格式
     */
    public static final String FORMAT_TIMESTAMP = "yyyy-MM-dd HH:mm:ss.SSS";

    /**
     * JSON成功标记
     */
    public static final String JSON_SUCCESS = "success";

    /**
     * JSON数据
     */
    public static final String JSON_DATA = "data";

    /**
     * JSON数据列表
     */
    public static final String JSON_ROWS = "rows";

    /**
     * JSON总数
     */
    public static final String JSON_TOTAL = "total";

    /**
     * JSON消息文本
     */
    public static final String JSON_MESSAGE = "message";

    public static final String TAG_SYS = "sys";

    public static final String TAG_MST = "mst";

    public static final String TAG_MQ = "mq";

    public static final String TAG_DAT = "dat";

    public static final String TAG_STA = "sta";

    public static final String TAG_INT = "int";

    public static final String[] TAGS = {TAG_SYS, TAG_MST, TAG_MQ, TAG_DAT, TAG_STA, TAG_INT};

    /**
     * Cookie键值：验证键值
     */
    public static final String COOKIE_VALIDATE_KEY = "VALIDATE_KEY";

    /**
     * Cookie键值：验证键值分割符
     */
    public static final String COOKIE_VALIDATE_KEY_SPLIT = "$_";

    /**
     * 请求属性键值：当前项目标识
     */
    public static final String REQ_CUR_TAG = "REQ_CUR_TAG";

    /**
     * 请求属性键值：当前用户标识
     */
    public static final String REQ_CUR_USER_ID = "CUR_USER_ID";

    /**
     * 请求属性键值：当前用户名称
     */
    public static final String REQ_CUR_USER_NAME = "CUR_USER_NAME";

    /**
     * 请求属性键值：当前机构标识
     */
    public static final String REQ_CUR_ORG_ID = "CUR_ORG_ID";

    /**
     * 请求属性键值：当前角色名称
     */
    public static final String REQ_CUR_ROLE_CODE = "CUR_ROLE_CODE";


    public static final String SYS_INIT = "SYS_INIT";

    /*登陆key*/
    public final static String LOGIN_KEY = "login_info";

    /*表格数据逻辑删除*/
    public final static Character TABLE_IS_REMOVE = '1';

    /**
     * redis中存活一天时间
     */
    public final static Integer TIME_TO_LIVE_DAY = 60 * 60 * 24;
    /**
     * redis中存活十五分钟
     */
    public final static Integer TIME_TO_LIVE_FIFTEEN_MINUTE =  60 * 15;
    /**
     * redis中存活五分钟
     */
    public final static Integer TIME_TO_LIVE_FIVE_MINUTE = 60 * 5;
    /**
     * 图片验证码后缀
     */
    public final static String IMAGE_CODE_POSTFIX = "_IMAGE_CODE_POSTFIX";
    /**
     * 手机验证码后缀
     */
    public final static String PHONE_CODE_POSTFIX = "_PHONE_CODE_POSTFIX";
    /**
     * 默认当前页码
     */
    public final static String PAGE = "1";
    /**
     * 默认每页记录数
     */
    public final static String PAGE_RECORD = "10";
    /**
     * 默认登录密码
     */
    public final static String PASSWORD = "123456";
    /**
     * 百度地图API的App-key
     */
    public final static String GAODE_APP_KEY = "2d1393521b52af54e9da56871d4d4c3b";


    public final static String[] LETTR = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"};
    /**
     * 挖掘机typeCode常量
     */
    public final static String TYPE_CODE_EXCAVATINGMACHINERY = "EXCAVATINGMACHINERY";
    /**
     * 挖掘机的发动机typeCode
     */
    public final static String TYPE_CODE_EXCAVATE_ENGINE = "EXCAVATE_ENGINE";
    /**
     * 挖掘机的主要参数typeCode
     */
    public final static String TYPE_CODE_EXCAVATE_MAIN_PARAMETER = "EXCAVATE_MAIN_PARAMETER";

    /**
     * 装载机typeCode常量
     */
    public final static String TYPE_CODE_LOADERMACHINERY = "LOADERMACHINERY";
    /**
     * 装载机的发动机typeCode
     */
    public final static String TYPE_CODE_LOADER_ENGINE = "LOADER_ENGINE";
    /**
     * 装载机的主要参数typeCode
     */
    public final static String TYPE_CODE_LOADER_MIAN_PARAMETER = "LOADER_MIAN_PARAMETER";

    /**
     * 挖掘机 ，吨位 设备常量code
     */
    public final static String PARAM_CODE_TONNAGE = "TONNAGE";

    /**
     * 装载机 ，额定载重 设备常量code
     */
    public final static String PARAM_CODE_RATED_LOAD = "RATED_LOAD";


    /**
     * 功率(kW)
     */
    public final static String ENGINE_POWER = "功率(kW)";

    /**
     * 挖掘机：自重(吨)
     */
    public final static String TONNAGE = "自重(吨)";

    /**挖掘机：标准斗容(m³)*/
    public final static String BUCKET_CAPACITY ="标准斗容(m³)";

    /**挖掘机：行走方式*/
    public final static String WAY_OF_WALKING ="行走方式";

    /**挖掘机：发动机型号*/
    public final static String ENGINE_TYPE ="发动机型号";

     /**装载机：额定载重*/
    public final static String RATED_LOAD ="额定载重";

    /**
     * 装载机：整机操作重量
     */
    public final static String OPERATION_WEIGHT = "整机操作重量";

    /**
     * ios手机图片验证码key
     */
    public final static String IOS_IMAGE_CODE_KEY = "IOS_IMAGE_CODE_KEY_IMAGE_CODE_POSTFIX";

    /**
     * ios手机图片验证码value
     */
    public final static String IOS_IMAGE_CODE_VALUE = "JSYF_IOS_IMAGE_CODE_VALUE";



    /**
     * 安卓手机图片验证码key
     */
    public final static String ANDROID_IMAGE_CODE_KEY = "ANDROID_IMAGE_CODE_KEY_IMAGE_CODE_POSTFIX";

    /**
     * 安卓手机图片验证码value
     */
    public final static String ANDROID_IMAGE_CODE_VALUE = "JSYF_ANDROID_IMAGE_CODE_VALUE";


    /**
     * 评论店铺资讯Store_information
     */
    public final static String DISCUSS_CODE_STORE_INFORMATION = "DISCUSS_CODE_STORE_INFORMATION";

    /**
     * 评论活动:activity
     */
    public final static String DISCUSS_CODE_ACTIVITY = "DISCUSS_CODE_ACTIVITY";

    /**
     * 评论设备:equipment
     */
    public final static String DISCUSS_CODE_EQUIPMENT = "DISCUSS_CODE_EQUIPMENT";

    /**
     * 评论--店铺:shop
     */
    public final static String DISCUSS_CODE_SHOP = "DISCUSS_CODE_SHOP";

    /**
     * 评论--商品:shop
     */
    public final static String DISCUSS_CODE_GOODS = "DISCUSS_CODE_GOODS";


    /**
     * 短信登录接口秘钥
     */
    public final static String LOGIN_SECRET_KEY = "LOGIN_SECRET_KEY";

    /**
     * 短信模版说明
     */

    /**手机验证码通用模版*/
    public final static String SMS_TEMPLATE_GENERAL_CODE="223097";

    /**用户注册模版*/
    public final static String SMS_TEMPLATE_REGISTER="222956";

    /**入驻成功（自主开店成功）*/
    public final static String SMS_TEMPLATE_SETTLED="223100";

    /**认领成功（开店成功）带密码*/
    public final static String SMS_TEMPLATE_CLAIM_PASSWORD="223120";

    /**认领成功（开店成功）不带密码*/
    public final static String SMS_TEMPLATE_CLAIM_NO_PASSWORD="225007";

    /**认证成功*/
    public final static String SMS_TEMPLATE_AUTHENTICATION="223102";

    /**收到询价时的短信提示*/
    public final static String SMS_TEMPLATE_ENQUIRY="223103";

    /**品牌下架*/
    public final static String SMS_TEMPLATE_BRAND_OFF="223106";

    /**商品下架*/
    public final static String SMS_TEMPLATE_GOODS_OFF="223107";

    /**店铺下架*/
    public final static String SMS_TEMPLATE_STORE_OFF="223108";

    /**金融管理*/
    public final static String SMS_TEMPLATE_FINANCE="225008";

    /**客服电话*/
    public final static String SERVICE_TELEPHONE="400-6363-648";



}
